Example 11 : A three-digit number 42x is divisible by 9. Find the value of x.