Having a fraction as a factor in a multiplication is operated by multiplying the numerator by any whole number and leaving alone the denominator, or if you multiply fractions, then you multiply numerators and denominators separately.
So in this case you have 8 halved apples, that is, 8 times one half apples:
8*(1/2)
this we solve by multiplying the whole number 8 times the numerator 1, and dividing by the denominator:
= 8*1/2
= 8/2
so you have 8 halved apples, which means
= 4
4 apples