I see it now.
a(ax + b) + b = a[sup:9y1us90t]2[/sup:9y1us90t]x + ab + b = 2x + 4
So a = sqrt(2). Then sqrt(2) * b + b = [1 + sqrt(2)] * b = 4, and b = 4/[1 + sqrt(2)].
Checking to make sure it works:
sqrt(2) * [ sqrt(2) * x + 4/(1 + sqrt(2)) ] + 4/[1 + sqrt(2)]
= 2x + [4 * sqrt(2)]/[1 + sqrt(2)] + 4/[1 + sqrt(2)]
= 2x + [4 * sqrt(2) + 4]/[1 + sqrt(2)]
= 2x + 4 * [1 + sqrt(2)]/[1 + sqrt(2)]
= 2x + 4
Many thanks, galactus.