Alright, let's work through 5137 times 7794 step by step
5137 × 7794 = 7794 × (5137)
+ 7794 × 7 that results in 54558
+ 7794 × 30 that equals 233820
+ 7794 × 100 giving us 779400
+ 7794 × 5000 that results in 38970000

= 40037778
