Area and Volume of a rectangle and square