i have got to find the perimeter of a triangle that has one side of 8x-7w another that says 3x+9y and then another that says 3y+5w

whats the perimeter of the triangle ??? please help

P = a + b + c

add the three sides

P = 8x - 7w + 3x + 9y + 3y + 5w
combine like terms