I spent so much time doing this integral yet I can't seem to get the right answer. Please help me find where I made a mistake. Thanks!

The joint pdf of and is given by:

Verify that this is a legitimate joint pdf. So I try to integrate the pdf and see if it equals one.

As you can see, the integral of the pdf does not equal one. But it has to since it asked me to verify that it is legitimate! Where is my mistake? Thanks.