We write (2.5)6=(52)6=5626. Similarly, you may obtain
(1.25)12=(54)12=512412=512224
Thus you have to check which of the numbers 5626, 512224 is larger. Equivalently, you must determine the larger number between 56 and 218 (why?).
However, 52=25<32=25. Hence
56=(52)3<(25)3=215<218
Thus
512224=56218×5626<5626
Hence (1.25)12<(2.5)6