Hey!
So if you are solving for S, then follow these steps!
First you wanna subtract u^2 from both sides because that's the easiest way to go first.
V^2 - u^2 = 2as
Now you want to get s alone, but 2a is multiplied to it so you want to do the opposite which is dividing.
(V^2 - u^2)/2a = s
There's your answer!
Hope this helps!