I need help with number 24.

Here is my attempt at trying to figure out the width of this triangle:

And here is my attempt at trying to set this problem up:

Please tell me if this is wrong or right. I cannot check my answer in the back of the book. Thank you for your time.