Alright, let's work through 5840 times 5140 step by step
5840 × 5140 = 5140 × (5840)
+ 5140 × 0 resulting in 0
+ 5140 × 40 producing 205600
+ 5140 × 800 giving us 4112000
+ 5140 × 5000 yielding 25700000

= 30017600
