Need to create the following variable --> (Xt-Xt-2)/Zt

#1
I have a panel dataset in which I have to look at the change in the level of independent variable X in 2 years.

So the variable should look like this: difX = (Xt - Xt-2) / Zt, where t is the time period

How do I do this in Stata?