With initial condition $x(1)=0.5$, the solution of the differential equation,

$$t\frac{dx}{dt}+x=t$$ is