Passing grades in math test