if dimensions were 5 and 12, that means ratio was 5:12. if we increase wach dimension by the same amount, the ratio is the same.
so:
5x×12x=120
60x²=120
x²=120÷60
x²=2
x=√2
that means each dimension was increased by √2
so dimensions are: 5√2 and 12√2