I'm having trouble getting the answer here.

Density function:

I used:

So I got:

Nevermind, I think I've got it right but if someone would double check my work that'd be great. Thanks.

However, the answer should be 10, so the signs are switched up somewhere in there but I can't find where.Apparently, this first part of the problem is the only part that's wrong. If someone could help me, that'd be awesome. After typing the second part out and redoing the math, see that it's right.

This part is correct because the final answer is supposed to be 144

So finally:

It's the right answer, but for the first part it should be 10, not-10.