3.7: Triangular prism inside a similar pyramid

In this question all lengths are in centimetres.
The diagram shows a right triangular prism of height inside a right pyramid of height with equilateral base of side . The base of the prism sits on the base of the pyramid. Points , and lie on , and respectively, and pyramids and are similar.
(a)[4]
Show that the volume, , of the triangular prism is given by where , and are integers to be found.
(b)[3]
It is given that, as varies, has a maximum value. Find the value of that gives this maximum value of .
