The perimeter of a rectangle is 48 cm. If the length is 3 cm more than a number and the width is 6 cm more than twice the same number. What is the number?