Answer
(a) 3/8
(b) 5/8
Work Step by Step
When writing a fraction, the total always goes in the denominator, while the fraction of that total always goes in the numerator. Since 3 slices of pie were eaten, the fraction is:
$$ \frac{3}{8}$$
Since 5 slices remain out of 8, the fraction remaining is:
$$ \frac{5}{8}$$