The perimeter of a parallelogram is 34 cm. if a diagonal is 1 cm less than its length and 8 cm more than its width, what are the dimensions of this parallelogram?