Since rectangles have opposite pairs of parallel lines, we know that 10 and 2y + 4 are equal.
10 = 2y + 4; subtract 4 from both sides
6 = 2y; divide both sides by 2
3 = y