Please help! I need this asap! If you know the answer please help. If you don't thats ok. Just move on. If you have any questions comment, dont answer the question. Thank you!!

x=12 perimeter=58
There's a step by step in the pictures, I thought it might be easier