Increase in length due to thermal expansion, when temperature of the rod of length L increase by θ, is
ΔL = α L θ;
Strain = ΔL/L = α θ
As Y = Stress/Strain = S/α θ
or Y ∞ 1/α because S and θ are constants for the two rods in this question.
Hence, Y1/Y2 = α2/α1 = 3/2