This question was asked in Remainder Theorem
Find quotient and reminder when 
p(x)divide by q(x)

P(x)=x 3x-1,q(x)=1 x

Kunal Rathi's image