An Ontario resident has a choice of drug plans.

Plan A cost $500 a year, plus $10 for each prescription

Plan B cost $650 a year.

The person wanted to know how many prescriptions could be purchased before the $650 plan became the better deal. Write an equation to represent this relationship. Solve the equation to determine the number of prescriptions that makes the two plans equal.