let the two numbers be and such that

first, you know the difference ...

second, you know the percentage the higher number is of the sum ... , where is the percentage represented as a decimal.

solve for in the difference equation ...

substitute into the percentage equation for ...

solve for ...

use to determine