The request of the problem is vague, hence, supposing that you need to evaluate the indefinite integral of the given function, yields:
`int 2x dx = 2 int x dx`
`int 2x dx = 2 x^2/2 + c => int 2x dx = x^2 + c`
c represents a set of constants
If the problem requests for you to evaluate the derivative of the given function, you need to use the following formula, such that:
`f(x) = x^n => f'(x) = n*x^(n-1)`
Reasoning by analogy, yields:
`F(x) = 2x => F'(x) = 2*(x)' => F'(x) = 2*1 = 2`
Hence, evaluating the indefinite integral of the function yields `int 2x dx = x^2 + c` and evaluating its derivative yields `F'(x) = 2.`