Inhomogeneous Thue Equations