linear, non-linear, makes little difference. you want to find and for

to find the first, differentiate with respect to x twice. that is, treat y as a constant. so you would just differentiate normally thinking of y as just any other number, like 2 or something.

a similar approach can get you

can you start?