If x + y = 5 and x = 3, then find the value of y.
⇒ x+y=5 .....(1)
and x=3
substitute value of x in equation 1
3+y=5
y=5-3
⇒y=2