The perimeter of a triangle is 45 cm. The two equal sides are each 3cm shorter than the third side how long is each side?