These both formula came under Newton Leibniz Theorem. But i don't understand when to use the formula '1.' and when the formula in '2'.
I was trying to solve this question. In this question we have to find the area under f(x). 
when i tried to do it with the formula '1' my answer didn't matched.

