The legs of an isosceles triangle measure 3 inches longer than its base the perimeter of the triangle is 30 inches write and solve an equation for the lengths of the three sides of the triangle