g(x)=-3x+1 and g(10)
$$\small{
\begin{array}{rclcr}
g(\textcolor[rgb]{1,0,0}{x}) &=& -3 &\cdot & \textcolor[rgb]{1,0,0}{x}+1 \\
g(\textcolor[rgb]{1,0,0}{10}) &=& -3 &\cdot & \textcolor[rgb]{1,0,0}{10} + 1\\
g(10) &=& -30 && +1\\
\mathbf{g(10)} & \mathbf{=} & \mathbf{-29}
\end{array}
}$$
g(x)=-3x+1 and g(10)
$$\small{
\begin{array}{rclcr}
g(\textcolor[rgb]{1,0,0}{x}) &=& -3 &\cdot & \textcolor[rgb]{1,0,0}{x}+1 \\
g(\textcolor[rgb]{1,0,0}{10}) &=& -3 &\cdot & \textcolor[rgb]{1,0,0}{10} + 1\\
g(10) &=& -30 && +1\\
\mathbf{g(10)} & \mathbf{=} & \mathbf{-29}
\end{array}
}$$