You have $i+1$ equations and $i+1$ variables. If you sum up you get
$$\sum_{j=1}^i y_j=a (\sum_{j=1}^i b_j)x+\sum_{j=1}^i c_j$$
and if you replace $\sum_{j=1}^i y_j$ by $a$:
$$a=a (\sum_{j=1}^i b_j)x+\sum_{j=1}^i c_j$$
From this you get
$$x=\frac{a-\sum_{j=1}^i c_j}{a(\sum_{j=1}^i b_j)}$$
You have to check if $y_j\ge 0$ for your solution.
It seems that your model is not appropriate for your situation.
Maybe the following is appropriate for your situation:
I will assume that $b_j$ is the avarage number of items sold in store $j$ per day.
calculate the number of days that it will take until a store is empty. This ist
$$T_j=\frac{c_j}{b_j}$$
Now assume that the indexes are chosen that $$T_1\le T_2\le T_3\ldots$$
After $T_1$ days the first store, store 1, is empty. Now se add every day $b_1$ items from the ordered products. This is exactly the number of products that the store needs to fulfill the customer requests
After $T_2$ days the next store, store 2, is empty.
So now we qdd every day $b_2$ items from the ordered products to store 2.
This can be done for store 3,4 and so on until wee have no more ordered items.
So we use the following strategy to distribute our ordered products:
- renumber the stores such that $$\frac{c_1}{b_1}\le \frac{c_2}{b_2}\ldots$$
- find $k$ such that
$$b_1(T_k-T_1)+b_2(T_k-T_2)+\ldots b_{k-1}(T_k-T_{k-1})\le a$$
and
$$b_1(T_{k+1}-T_1)+b_2(T_{k+1}-T_2)+\ldots b_{k-1}(T_{k+1}-T_{k-1})+b_{k}(T_{k+1}-T_{k})\gt a $$
we want that store 1 to k+1 run out of items at the same time, so we choose $T$ such that
$$b_1(T-T_1)+b_2(T-T_2)+\ldots b_{k-1}(T-T_{k-1})+b_{k}(T-T_{k})= a $$
so
$$T=\frac{a+b_1 T_1+b_2 T_2+\ldots b_k T_k}{b_1+b_2+\ldots+b_k}=\frac{a+c_1 +c_2 +\ldots c_k }{b_1+b_2+\ldots+b_k}$$
From $T$ wer now calculater the number of items we deliver to each store:
$$y_j=(T-T_j)b_j, j\le k$$
$$y_j=0, j\gt k$$
$T$ is the smallest time that is possible to avoaid that one store runs out of product $T.$