Design an algorithm to find the positive integer solution of equation 5x + 2Y = 22, the final output result should be? How to calculate?

Design an algorithm to find the positive integer solution of equation 5x + 2Y = 22, the final output result should be? How to calculate?


5x+2y=22
2y=22- 5x
If the left is even, make sure that the right is even, 22 is even, 5x is even, and X is even
And it is a positive integer, so 2Y = 22 - 5x > 0
x



The positive integer solution of the quadratic equation 5x + 2Y = 25 is
Come on, wait online!
I want it today!
rapidly


x=1,y=10
x=3 y=5