It really is quite simple
first you'd have to find the rate of how many bottles of soda (make it Coca Cola) can this machine fill per minute
200/12=16.666.....666 (16 2/3)bottles per minute
now, how long will it takes to fill 500 bottles
500÷16.666666666666=30.0000000000012
round that up, and it took your machine 30 minutes to fill 500 bottles of Coca Cola (and with extra ice)