Considering the perimeter (P)

where b is the base and h is the height, then

Being the area (A)
5x+y= -5 , i hope I help you
3x+4=28 because 3 times an unknown number was mentioned first and mentioned together so they will be together, increased by 4 is +4 and comes after, the result of is the same as equals so you put the equals sign and whatever number they gave after.
(5x-18)+(4x+7)=180
5x+4x=180+18-7
9x=191
x=191/9
Answer: x=191/9