Whenever you work any "solve for" problem, you start by looking at what is done to the variable of interest. Here, a is multiplied by 2s and added to v². You must reverse these operations, generally in reverse order.
V² -v² = 2as . . . . . . . . subtract v²
(V² -v²)/(2s) = a . . . . . divide by the coefficient of a
Solved for a, the formula is ...
... a = (V² -v²)/(2s)