Joseph and his younger brother, Ryan, are taking a backpacking trip and must take a total of 12 gallons of water. Ryan will carry 4 less than half of gallons Joseph will carry. Let x be the number of gallons Joseph carries and let y be the number of gallons Ryan carries.