No problem, we've got 5174 and 1040 to multiply
5174 × 1040 = 1040 × (5174)
+ 1040 × 4 producing 4160
+ 1040 × 70 what gives us 72800
+ 1040 × 100 what gives us 104000
+ 1040 × 5000 that results in 5200000

= 5380960
