Ernesto baked 3 cakes in 2 1/2 hours. Assume that the number of cakes baked varies directly with the number of hours. Write and solve a direct variation equation to find how many cakes can be baked in 7 1/2 hours.