First derivative. By the chain rule,
y1=eacos−1x⋅a⋅(1−x2−1)=1−x2−ay
Clear the square root before going further — this is what keeps the second differentiation short:
1−x2y1=−ay
Differentiate again, with the product rule on the left:
1−x2y2+y1⋅1−x2−x=−ay1
Multiply through by 1−x2:
(1−x2)y2−xy1=−a1−x2y1
and the right-hand side is −a⋅(−ay)=a2y by the boxed relation above. Therefore
(1−x2)y2−xy1−a2y=0