Two sides of a triangle are equal in length. The third side of the triangle is 3 more than the equal sides. If the perimeter of the triangle is 48, what is the length of the longest side?

Show work