Some constrained external problems for functions with positive real part and related subclasses of univalent functions