Rearranging formulas is all about simple algebra rules. Just like when solving for x in an equation, you're just isolating whichever variable you want. I'll work this one out for you and hopefully it'll help, but if you need more explanation, then feel free to comment!
D = ViT + 0.5at² Subtract ViT from both sides
D - ViT = 0.5at² Divide both sides by 0.5t²
I wrote this step out a little more to show how your fraction will cancel
= a I like to flip these around so the single variable is on the right
a =
