When you divide by a fraction, you multiply by its inverse: so 1/4:2/4 is equal to 1/4*4/2. We can simplify the fours (there is one in nominator and one in demominator) and then the result is what is left: 1/2.