These winds are opposite from each other. While valley breezes occur when the warm air rises up the sides, warm air in a mountain breeze will rise up the middle.
valley breezes happen during the day mountain breezes occur during the naight (something like that but apex approved)