Motion, in general, does not need to be in a straight line. In your Adv & Ext 1 Maths, you are usually dealing with motion in a straight line, because this is the easiest to deal with. Motion in a straight line is often referred to as "rectilinear motion".