How do I do this?

a farmer wants to fence an area of 720000 sq ft against a river. What dimensions should he make the fence so as to minimize the amount of fencing to be used?
Update: Okay, I just want to know which formula (A= l*w or P=2L*2W) is the primary and if I need to convert the swuare feet to another unit?
9 answers 9