Yes. That's correct. Is that what you're asking...? To clarify, prime numbers have a single factor (one and itself) , composite numbers have multiple factors.
X = 28
you divide 112 by 4 to get 28
Plugging in the numbers 7x - 2y = 39 fitted and made sense