Dave bought 3 packs of white shirts * 6 = <<3*6=18>>18 white shirts.
Dave bought 2 packs of blue shirts * 4 = <<2*4=8>>8 blue shirts.
Dave bought a total of 18 + 8 shirts = <<18+8=26>>26 shirts.
#### 26