the solution is 12x-6y
to find the perimeter, you add up all the lengths of the sides. in this case you would have to add up 18+22+40+80 which equals 160.