Dwayne's garden is triangle-shaped with two equal sides and a third side that is 4 ft more than the length of an equal side. If the perimeter is 49 ft, how long is the longest side?