Note how the units cancel, leaving the desired units at the end.
You can ask a new question or answer this question.