f = fabric, so replace f with 12 in the equation and solve for n:
12 = 3/4n
Solve for n
n = 12*4 / 3 = 48 / 3 = 16
There were 16 shirts made.