hello, i just started learning about this and i'm a little bit confused on how to find the particular solution for these 2 non-homogeneous equations.

and

I know how to find a particular solution for an equation like which is -1, but when there is a variable n instead of just a constant at the end, i get confused.

can someone help me get started? thanks!