>>352234Numerator=Quotient*Denominator+Remainder
Since it's an integer division, I'll name the quotients "n" and "m"
9 = (c * 2 + d) % 26 <=> c * 2 + d = n*26 + 9
14 = (c * 17 + d) % 26 <=> c * 17 + d = m*26 + 14
c = 1/3 + 26*m/15 - 26*n/15
d = 25/3 - 52*m/15 + 442*n/15
c >= 0 <=> n <= m + 5/26
c <= 25 <=> n >= 1/13 (13 * m - 185)
d >= 0 <=> n >= 1/442 * (52 * m - 125)
d <= 25 <=> n <= 1/221 (26 * m + 125)
These can be solved grafically. You get many (n, m) couples that solve your equations. If you want integer c and d, the (1, 6) couple results in c = 9 and d = 17.