a rectangualr garden is to be enclosed usinf two different types of fencinf. one side of the garden boarders a road and the fencing for this side costs $25 per foot. The fencinf for the other sides costs $10 per foot