The first side of a triangle measures 3 in. less than the second side, the third side is 2 in. more than the first side, and the perimeter is 20 in. Set up an equation that relates the sides of the triangles in terms of the perimeter of the triangle.