Alright, let's work through 1012 times 4945 step by step
1012 × 4945 = 4945 × (1012)
+ 4945 × 2 giving us 9890
+ 4945 × 10 resulting in 49450
+ 4945 × 000 resulting in 0
+ 4945 × 1000 giving us 4945000

= 5004340
