It is still basic algebra and the math applies to chemistry.
mebecker's way of working it applies the laws of physics. It can be done by just looking at the units as your teacher was getting at.
You have a unit of m/s2 and of m/s, and you want to end with just seconds?
How do you do that?
Hint: It is the same as the next to last line in mebeckers previous post to verify your answer.