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 out how many cakes can he bake in 7 1/2 hours