Alright, let's work through 3540 times 335 step by step
3540 × 335 = 335 × (3540)
+ 335 × 0 that equals 0
+ 335 × 40 resulting in 13400
+ 335 × 500 which equals 167500
+ 335 × 3000 producing 1005000

= 1185900
