Girls basketball teams punch their tickets to state semifinals