Look, really the simplest thing is to lay your wood out on the floor, making sure the 'sides' are good'n' square... and then just MARK up a template piece with the correct angles, length, etc. It is EVER so much easier for small structures than getting all math-y, and guaranteed to be accurate (whereas few people can say they *never* make math errors)
Good luck, have fun,
Pat

Good luck, have fun,
Pat