By the graphical method