Alright, let's work through 5171 times 562 step by step
5171 × 562 = 562 × (5171)
+ 562 × 1 yielding 562
+ 562 × 70 that results in 39340
+ 562 × 100 which equals 56200
+ 562 × 5000 giving us 2810000

= 2906102
