We have the second order differential equation
With the alleged solutions we have to verify that they are solutions or not as the following
For the alleged solutions differentiate with respect to x, then we have
After that, substitute with shown in equation (2) into equation (1), then we have
Then is a solution of the given differential equation
For the second alleged solution : differentiate with respect to x , then we have
After that, substitute with y'' shown in equation (3) into equation (1), then we have
Then is a solution of the given differential equation.