Simplify x(3x+y)