If I am right, your hope is to obtain a linear function $$y=ax+b$$
from two other linear functions
$$y=a'x+b'$$ and$$y=a''x+b''$$ in such a way that the image of the sum of two $x$'s is the sum of the corresponding $y$'s:
$$a(x_1+x_2)+b=a'x_1+b'+a''x_2+b''.$$
For this to occur, you need to identify the coefficients and ensure
$$\begin{cases}a=a'\\a=a'',\\b=b'+b''.\end{cases}$$
Then if $a'\ne a''$, this is impossible.
The best that you can do is to realize the equality for two particular pairs of $x$ values, say $x_1,x_2$ and $x_3,x_4$. After solving a $2\times2$ system for $a$ and $b$, there will be an infinity of pairs $x_5,x_6$ such that
$$a(x_5+x_6)+b=a'x_5+a''x_6+b'+b'',$$ for instance by setting
$$x_6=-\frac{(a'-a)x_5+b'+b''-b}{a''-a}.$$