Given data:
The given expression is 10-x +y/2.
The given value of x is x=5.
The given value of y=2.
Substitute the given values in the expression.
[tex]\begin{gathered} 10-5+\frac{2}{2}=10-5+1 \\ =6 \end{gathered}[/tex]Thus, the value of the given expression is 6.