two times the sume of 3 and y amounts to 24

2(3 + y) = 24

6 + 2y = 24

2y = 18

y = 9