Omar went back to school shopping and bought a shirt for $28.75 and a pair of pants for $19.25. He paid 8% in sales tax. How much did Omar spend on the shirt and pants after tax?