With the information you have, there are an infinite number of solutions. There is an equation which describes these solutions. There are also boundary conditions.
Let’s call the divisor Y and the dividend X. You have the quotient and remainder given.
X/Y = 22, remainder 12
That remainder 12 term is hard to manipulate. What is a remainder? It is the fraction of Y’s which are left over after the division.
For example, 13/4 = 3, remainder 1 is the same as saying 13/4 = 3 + 1/4
So let’s rewrite our equation as
X/Y = 22 + 12 / Y
Multiplying through by Y on both sides gives:
X = 22Y + 12
This is the equation of a line. However, the whole line isn’t valid. Like you already stated, the divisor must be greater than the remainder:
Y > 12
If the divisor exceeds the remainder, then you just adjust the quotient upwards. For example, if I said that 13/4 = 2, remainder 5, that would be incorrect. The remainder can’t be higher than the divisor.
Another, less obvious boundary is that the dividend is greater than the divisor. X is more than 22 times Y. X > Y
Thus, X > Y > 12 is your boundary.
Draw your Y = 12 line and shade above that. Draw an X = 12 line and shade to the right. and draw a Y = X line and shade the portion where X > Y (the lower portion). The portion of the line X = 22Y + 12 which falls in this boundary contains the solutions to the problem. There might be further boundaries imposed as well that restrict your answers upon this line, since your quotient and remainder are integers. (One of the boundaries is not ever touched. Can you tell which one without graphing?)