Hello Jeanne,
Unless you have fixed the machine already, if the machine sews a perfect straight stitch but won't zig zag it may well be a slightly bent or blunt needle, it is very unlikely the cams are worn or misaligned, the very worst it can be is the machine slightly out of time, try the simple thing like the needle first, let me know if it does not work.
Ken
drivewithken@blueyonder.co.uk, July 2007