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 total cost will increase linearly with the number of square feet, resulting in a straight line when graphed. Each additional square foot adds a constant amount ($300) to the total cost, which is characteristic of a linear function.