Ok, well provide us with the code you have first, and then we can help you more from there.

Lets have a look at the design of a pyramid. First of all, since this is a 2 dimensional image (vertical...