The scenario that can be modeled by a linear function is:
The total cost of building a new home if the builder charges $300 per square foot.
This is because the cost is directly proportional to the number of square feet, which means it can be represented by a linear equation (Cost = $300 * Square Feet). The other scenarios involve varying amounts or conditions that do not produce a consistent linear relationship.