Suppose you have two numbers. The difference of the two numbers is 12. The product of the two numbers is 17. Multiply the larger of the two numbers by 100, add 50 times the smaller number to that, round the total to the nearest whole number.
That starts out as an algebra problem with two equations in two unknowns.
x -y = 12
xy = 17
Since 17 is a prime number, x and y will not be integers. Solve by substitution.
x - 17/x = 12
x^2 -12 x -17 = 0
Once you have found out the numbers, complete the final operations. We will be happy to critique your work. You learn by trying.