Help with combining 2 sketches together.

Bump. Can someone please take a look at this code and tell me where Im going wrong.