solving problems with percents