deriving the formula for the least square estimates

when deriving the formula for the least squares estimates of veta0 and veta1 from the following population model:

yt=veta0+veta1(xt-xbar)+ut

do you have to do anything different seeing as its normally just Xt not Xt-Xbar.

What im thinking is that you do the normal process for deriving the least sqaure estimates, however wasnt sure because of the Xt minus Xbar

also I dont know how to insert symbols and formula hence what I have written, I hope its understandable