Peggy decided to sell brownies and cookies to raise money for her basketball uniform. She sold brownies for and cookies for . If she sold fewer cookies than brownies and collected in all, then how many brownies did she sell? Write and solve an equation (or a system of equations) to find your solution.
Write an equation for the problem.
Substitute for in the second equation and solve for , the number of brownies.