Positive Integers
x > 0
y > 0
25x + 35 = 380 ==> x = 13.8
25 + 35y = 380 ==> y = 10.14
0 < x < 14
0 < y < 11
There are not very many to try, even with the "Brute Force" Method.
A little smarter.
25x + 35y = 380 ==> 5x + 7y = 76
x = (76 - 7y)/5 -- How many of those possibly y-values produce integer multiples of 5 from 76-7y? y = 3, 8