Dinero que posee juan = x dinero que posee Pedro = y
El sistema quedaría así :
x + y = 2640
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7Bx%7D%7B2%7D%20%20%2B%20%20%5Cfrac%7By%7D%7B4%7D%20%3D%20x-255" />
Solución :
x = 2640 - y
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B2640-y%7D%7B2%7D%20%20%2B%20%20%5Cfrac%7By%7D%7B4%7D%20%3D%202640-y-255" />
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B10560-4y%7D%7B8%7D%20%20%2B%20%20%5Cfrac%7B2y%7D%7B8%7D%20%3D%20%20%5Cfrac%7B21120-8y%7D%7B8%7D%20-%20%20%5Cfrac%7B2040%7D%7B8%7D%20" /> - 4y + 2y + 8y = 21120 - 2040 - 10560
6y = 8520
y = <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B8520%7D%7B6%7D%20" />
y = 1420
x = 2640 - 1420
x = 1220
juan posee 1220$ y pedro posee 1420$.