The band earns $80 per gig because 4 x 20 = <<4*20=80>>80
They played 5 gigs because 400 / 80 = <<400/80=5>>5
#### 5