ANSWER
The numbers are
[tex] \frac{1}{8} \: \: and \: \: \frac{7}{8} [/tex]
EXPLANATION
The first number is
[tex] \frac{3}{8} [/tex]
units to the right of
[tex] \frac{1}{2} [/tex]
on the on the number line.
That is,
[tex] \frac{3}{8} + \frac{1}{2} = \frac{7}{8} [/tex]
The second number is
[tex] \frac{3}{8} [/tex]
units to the left of
[tex] \frac{1}{2} [/tex]
on the number line.
This implies that,
[tex] \frac{1}{2} - \frac{3}{8} = \frac{1}{8} [/tex]