Bobcats top Trinity in state quarterfinals