Fernando Mendoza threw for two touchdowns and ran for another and Cal finally secured its elusive first Atlantic Coast Conference victory by hanging on to beat Wake Forest 46-36 on Friday night.