The amount of paint an electric paint sprayer applies varies directly with time. A sprayer is set to apply 0.5 gallon in 2.5 minutes. Write an equation that gives the amount P of paint as a function of the time T. How much paint is applied if the sprayer is operated for 20 minutes.