6 credits of upper-level mathematics courses