Alright, let's work through 5581 times 6794 step by step
5581 × 6794 = 6794 × (5581)
+ 6794 × 1 resulting in 6794
+ 6794 × 80 what gives us 543520
+ 6794 × 500 resulting in 3397000
+ 6794 × 5000 giving us 33970000

= 37917314
