On solutions to some quasilinear hyperbolic equations with nonlinear inhomogeneous terms