The table shows different quantities of flour and the number of cookies that can be made with each quantity of flour. If the relationship between the cups of flour and the number of cookies is proportional, find the value of x.
Flour(cups)=3-6-12
cookies=4-x-16
(dozens)