Example I'm gonna buy two box of Books. $1$ Box each store
The $1$st Box has Price of 250 per book with $80$ pcs of Books.
The $2$nd Box has Price of 280 per book with $65$ pcs of Books.
So the price of $1$st box is $250 \times 80 = 20,000$
and the price of $2$nd box is $280 \times 65 = 18,200 $
So the Total Price of two box is $38,200$
Is there a way If I Sum both Price and Quantity which is
$250 + 280 = 530$
$80 + 65 = 145$
Is there a mathematical way to solve these two values $(530$ & $145)$ and still get "$38,200$" in Total
No, this is not possible: the total price is not determined by those two sums. To be more precise, if you have four numbers $a,b,c,$ and $d$, then $ac+bd$ cannot be uniquely determined from $a+b$ and $c+d$ (here $a$ and $b$ are the two prices and $c$ and $d$ are the respective quantities).
For example, consider $a=b=c=d=2$ and $a'=c'=1$, $b'=d'=3$. Then $a+b=a'+b'=4$ and $c+d=c'+d'=4$. However, $ab+cd=8$ is not the same as $a'b'+c'd'=6$.