The sum of the digits of a two-digit number is 5. If nine is subtracted from the number, the digits will be reversed. Find the Algebraic equation by replacing the tens digit with x.