Bring all the variables involving P to one side with dP in the numerator, bring all the variables involving t to the other side keeping t as the numerator. Then you have separated the variables and you can integrate it.
Bring all the variables involving P to one side with dP in the numerator, bring all the variables involving t to the other side keeping t as the numerator. Then you have separated the variables and you can integrate it.