Find the greatest common factor of 24x^2 and 42xy^3 .