The relations of divisor, dividend, quotient and remainder are:
n=pq+r, where n=dividend, p=divisor, q=quotient, r=remainder, and these are all whole numbers (integers).
n-r=pq,
p=(n-r)/q.
If you're given only q and r, this means that you have to find some number n, such that, when you subtract r, the remainder, you have is an exact multiple of q, the quotient. Or, you could say, q is a factor of n-r. The other thing to note is that the remainder is always less than the divisor, that is, r<p. From this formula we write n (the dividend)=pq+r. So we can put in any integer p (greater than r) to find n.
Example 1: q=17, r=3. n=17p+3. p must be bigger than 3. Let p=5, then n=88. 88/5=17 rem 3.
Example 2: q=127, r=15. n=127p+15. p must be bigger than 15. Let p=20, then n=2555. 2555/20=127 rem 15.