Put this formula in cell B5:
=((B1)*(B1))+0.25*((B2)*(B2))/2*(B1)
Excellent!!!!! a picture is worth a thousand words. Thank you.