First we have to collect the like terms (The terms with the same variables) on the same side so it becomes: 5p-2p=12+9 Then you simplify it by combining the like terms so it becomes: 3p=21 Now you simplify by dividing both sides by 3 and it becomes: p=7