Find an integer value of x such that when 3x-39 is divided by 2x, the quotient is 1 and the remainder is 50.
Answer is 89