Answer: perimeter = 10+2x+xy
To get the perimeter, you add up all the outer sides
side1+side2+side3 = (5+x)+(5+x)+(xy) = 10+2x+xy
The like terms 5 and 5 add to 10. The other pair of like terms x and x add to 2x. There isn't anything to pair with xy, so we leave it as is.