The first 4 customers bought 4*2=<<4*2=8>>8 paintings
The next 12 customers bought 12*1=<<12*1=12>>12 paintings
The last 4 customers bought 4*4=<<4*4=16>>16 paintings
In total Tracy sold 8+12+16=<<8+12+16=36>>36 paintings
#### 36