45 factorises as (1 x) 3 x 3 x 5
Both of the numbers we seek must divide into it so the only possible numbers to be considered are 1, 3, 9 (=3 x 3), 15 (=3x5) and 45.
But 3 must divide into both of the numbers we're seeking, so we can immediately exclude 1 from the possible pairings. That doesn't leave a lot to try!