(i) Let x=1.245=1.2454545… One digit comes before the repeating block of 2 digits, so
10x=12.454545…,1000x=1245.454545…
1000x−10x=1245.4545⋯−12.4545⋯=1233
x=9901233=110137
(ii) Let y=1.2454=1.2454545… Two digits come before the repeating block of 2 digits, so
100y=124.545454…,10000y=12454.545454…
10000y−100y=12454.5454⋯−124.5454⋯=12330
y=990012330=110137
(iii) Both are right. Written out, both decimals are 1.2454545…, the same digits, and both equal 110137. The same repeating decimal can be written with the bar starting at different places. The usual form puts the bar over the shortest block as early as possible: 1.245.