Answer:
Micheal surveyed 60 students.
p=3h + 3u subtract 3u from both sides
p-3u=3h now divide both sides by 3
h = p/3 - u
There are 2 walls that are 9 feet each and then 2 walls that are 6 feet each. Adding those up will give you 30 feet of fencing. If you need 1 gallon for every 10 feet and there are 30 feet of fencing, that would mean that you need 3 gallons of paint.
(Editing the question.) I'm sorry!! I didn't read it well.
36 may be the answer.
I may be wrong.