Octavio Harvey wants the photocopy of a document that measures 6 centimeters by 9 centimeters enlarged by a factor of 3.

Which of the following represents the measurement of the longer side of the photocopy?
A. 27 centimeters
B. 18 centimeters
C. 12 centimeters
D. 9 centimeters