If the length of a rectangle is 1 cm more than three times the width and if the perimeter of the rectangle is 34 cm what is the dimension of the rectangle