First, you need to set the denominators equal.
1/2=4/8
Then divide.
(4/8)/(1/8)=(4)/(1)=4.
Notice that the denominators cancel each other out. You then have whole numbers that divide easily.
The answer is that Denise can make 4 batches of cookies on 1/2 cup of vegetable oil.