y = 3
The opposite sides of a rectangle are equal thus
2y + 4 = 10
subtract 4 from both sides
2y = 10 - 4 = 6
divide both sides by 2
y = [tex]\frac{6}{2}[/tex] = 3