Question 167658
Suppose Bob owns 2,000 shares of Company X and 10,000 shares of Company Y. The total value of Bob's holdings of these two companies is $340,000.
----------------------------------
Bob's holdings: 2000x + 10000y = 340,000 where x and y are the value of one
share of company x or of company y.
------------------------------
Frank's holding: 8000x + 6000y = 340,000 where x and y are the value of 
one share of the respective companies.
-----------------------
 
EQUATION:
2000x + 10000y = 340000
8000x + 6000y =  340000
----------------
Multiply 1st by 4 and subtract from the 2nd to get:
2000x + 10000y = 340000
0x    - 34000y = -3*340000
y = $30 per share of company Y
---------------------------------
Substitute to solve for "x":
2000x + 10000*30 = 340000
2000x + 300000 = 340000
x = $20 per share of company X
====================================
Cheers,
Stan H.