If x, y and z are the side lengths of a triangle (variables (!) ), then the perimeter P is P = x + y + z.