Correct. Because the problem says "directly proportional," the equation to use is , where y is the cost and x is the number of square feet.
Solve for k. This gives you .
Then for : or