Răspuns :
x:y=5 rest 27
x=5y+27
x+y+5=302
x+y=297
5y+27+y=297
6y+27=297
6y=270/:6
y=45
x=5x45+27
x=252
x=5y+27
x+y+5=302
x+y=297
5y+27+y=297
6y+27=297
6y=270/:6
y=45
x=5x45+27
x=252
a : b = 5 rest 27
a + b + 5 = 302
a = 5b + 27
5b + 27 +b + 5 = 302
6b = 302 - 32
6b = 270
b = 270 : 6
b = 45
a = 5 * 45 + 27
a = 252
verificare: 252 + 45 + 5 = 302
a + b + 5 = 302
a = 5b + 27
5b + 27 +b + 5 = 302
6b = 302 - 32
6b = 270
b = 270 : 6
b = 45
a = 5 * 45 + 27
a = 252
verificare: 252 + 45 + 5 = 302