The legs of a right triangle are 3 units and 4 units long . Another right triangle is dilated from this triangle using a scale factor of 3 . What are the side lengths and the perimeter of the dilated triangle.