I have no idea what you mean when you say you "looked at y'''- y'= x only". That is the entire problem! Do you mean the associated homogeneous equation, y'''- y'= 0? That has characteristic equation r^3- r= r(r^2- 1)= r(r- 1)(r+ 1)= 0 so the general solution to the associated homogeneous equation is y_h(x)= C_1e^x+ C_2e^{-x}+ C_3
Now, you have title this "variation of parameters". To use that method for this differential equation ("undetermined coefficients" would be simpler but I presume this is for practice of variation of parameters specifically), look for a solution of the form
y(x)= u(x)e^x+ v(x)e^{-x}+ w(x)
That is, we treat those constants (parameters) as variables- that is the reason for the name "variation of parameters". Differentiating, y'= u'e^x+ ue^x+ v'e^{-x}- ve^{-x}+ w'. There will be many different possible functions that will work- we limit our search by requiring that u'e^x+ v'e^x+ w'= 0
That means that we have y'= ue^x- ve^{-x}. Differentiating again, y''= u'e^x+ ue^x- v'e^{-x}+ ve^{-x}. Once again, we "limit our search" (and simplify the equation) by requiring that u'e^x- v'e^{-x}= 0.
That gives, now, y''= ue^{x}+ ve^{-x} and, differentiating one more time, that y'''= u'e^{x}+ ue^{x}+ v'e^{-x}- ve^{-x}. Putting that and the formula for y' into the equation,
u'e^x+ ue^x+ v'e^{-x}- ve^{-x}- (ue^x- ve^{-x})= u'e^x+ v'e^{-x}= x
You see what has happened? We have no derivative of u, v, and w higher than first because of our "requirements" and we do not have u, v, and w themselves because they satify the homogenous equation and cancel. We have, instead the three equations
u'e^x+ v'e^x+ w'= 0
u'e^x- v'e^{-x}= 0
and
u'e^x+ v'e^{-x}= x
which we can treat as three linear equations in u', v', and w'. Solve for those and integrate to find u, v, and w.