You are given a dependent variable y, and independent variable x such that the regression would be ( x and y are endogenous):

There is the possibility that the coefficients estimated from the model is affected by x and y having measurement errors in them.

You are also given the lagged (by one period) dataset of x and y (x_1 and y_1 respectively).

How would you go about fixing this error?

May I ask if my approach is correct?

I would use the lagged data to estimate the true values of x & y, so that the errors are no longer correlated so that the model would look as follows

Then this would be the equivalent of running a two way least squares regression with x_{1} and y_{1} as instrumental variables?

Thank you in advance for any feedback