I'm pretty sure you're meant to treat it just like like a 2d vector, just do the math on the z direction as well. Basically, all the 2d problems you've ever done that have become so familiar to you ...