Vamos a analizar el problema
total pagado ⇒100%x + 100% y = 3500∈ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1
1° como es descuento del 10% sería ⇒90%x
2° como el descuento es del 8% dería⇒92%y
90%x + 92% y = 3170 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2
en 1 el % se puede expresar así
100x / 100 + 100y / 100 = 3500
x + y = 3500
x = 3500 - y - - - - - - - - - - - 3
en 2el % se puede esxpresar así
90x / 100 + 92y / 1000 = 3170
0.
9x + 0.
92y = 3170 - - - - - - - - - - - - - - - - 4
reemplazamos 3 en 4
0.
9(3500 - y) + 0.
92y = 3170
3150 - 0.
9y + 0.
92y = 3170
0.
02y = 3170 - 3150
0.
2y = 20
y = 20 / 0.
2
y = 1000
x = 3500 - 1000
x = 2500.