The number of buckets of paint n needed to paint a fence varies directly with the total area of the fence and inversely with the amount of paint p in a bucket. It takes three 1-gallon buckets of paint to paint 72 square feet of fence. How many 1-gallon buckets will be needed to paint 90 square feet of fence?

(Please show your work so I know how you got your answer and thanks in advance!)