No variation of P-40 carried 20mm cannons in the wings. It mounted .50 calibre M2 Brownings, either nose-mounted synchronised or wing-mounted, at best, and variants had bomb racks (as correctly shown in the movie)
Shot in 15 days.
The German "Panzer" is actually a modified M4 Sherman. Both sides in the Desert War used Captured Equipment.