Consider two equations:
$x+y=2$
$y+z=4$
Find the value of $(x+z)$.
($x,y,z$ all are positive real numbers)
My Approach:
$\because x+y=2 \Longrightarrow y=0$ or $y=1$.
Case 1:
taking $y=0$$ \Longrightarrow$
$x=2$ ; $z=4$.
$\therefore x+z = 2+4 = 6.$
Case 2:
taking $y=1 \Longrightarrow$
$x=1$ ; $z=3$.
$\therefore x+z = 1+3 = 4.$
$x+z=6$
or
$x+z=4$
I want to know if my approach is correct or is there more better way to evaluate this ?