solve integral of 2