Help me write a function
I don't typically ask for answers, but I just got so backed up with school work last week that I'm rushing to get this big math assignment done tonight. One of the problems I have to solve is just wracking my brain (partly because I'm rushing), and I really need help, because I'm SO close to finishing the assignment. This is the main part of the problem from my text book:
"A homeowner needs to run a new water pipe from his house to a water terminal as shown in the accompanying diagram. The terminal is 30 ft down the 10 ft wide driveway and on the other side. A contractor charges $3/ft alongside the driveway and $4/ft for underneath the driveway."
The picture is basically a 30 ft x 10 ft driveway. What I have to do for the part I'm stuck on is write the cost as a function of x. I'm drawing a blank on what the answer is, here. Can some one help me out? I'm down to mere hours of having to get this assignment in... :/
The diagram is needed.
Originally Posted by indestructible09