A triangle is formed by the points A(0, 0), B(3, 0), and C(3, 4). A and C are foci of an ellipse and B lies on the ellipse. If the area of the ellipse is A, then the value of p is:
a) 12
b) 16
c) 24
d) 36