The total cost C of producing x units of some commodity is a linear function. Records show that on one occasion, 100 units were made at a total cost of $200, and on another occasion, 150 units were made at a total cost of $275. Express the linear equation for total cost C in terms of the number of units produced.