The first side of a triangle is 3 m shorter than the second side. The third side is 4 times as long as the first side. The perimeter is 27 m. Find the length of the 1st side.