we have that
if the machine can bottle 30 fluid ounces of shampoo in -----------> 12 seconds
X fluid ounces of shampoo in-----------------------------------------------> 1 second
X=30/12=2.5 (I apply a rule of three)
the answer is 2.5 fluid ounces of shampoo