V=1/3ah, V=21,h=3, solve

V=1/3ah

Substitute the values for the letters.

21 = (1/3 * a * 3)
21 = a