need help with this pls and thanks. question is in picture

Answer:
The answer is D
Step-by-step explanation:
if you use the equation 3x=x+18 and subtract x from the side you get 2x=18 and therefore x=9
and if you put x in for the variables you get 27 for both sides and there are 2 sides so you get 108 for the perimeter