Two rectangles are similar. If the height of the first rectangle is 3 inches, and the height of the second rectangle is 9 inches, by what factor was the first rectangle changed?
A. 3
B. 6
C. 1
D. 9​