Use the ratio of corresponding sides to work out scale factors.