What is the value of y?

Answer:
y=3
Step-by-step explanation:
The vertical sides of the rectangle must be equal
10 =2y+4
Subtract 4 from each side
10-4 =2y+4-4
6 = 2y
Divide each side by 2
6/2 =2y/2
3=y