A rectangular pyramid has a base area of 24in² and a volume of 48in³. What is the height of the pyramid?

A) 6in
B)2in
C)4in
D)3in