Calculate using vectors and represent the solutions graphically.