In converting 4229 into a continued fraction the convergent just before 4229 is 139; we have therefore
29×13−42×9=−1;
∴29×65−42×45=−5;
combining this with the given equation, we obtain
29(x+65)=42(y+45);
∴x+6542=y+4529=t, an integer;
hence the general solution is
x=42t−65, y=29t−45.