How do we automatically input the value entered from a previous variable to the next variable?

thank Kal_Lam for the answer but i mean like image below ::