k subscript one times open bracket theta plus open parenthesis one minus theta close parenthesis times p close bracket divided by two times open parenthesis one plus theta close parenthesis plus k subscript zero times open bracket theta plus open parenthesis one minus theta close parenthesis times p close bracket times open bracket two theta plus open parenthesis one minus theta close parenthesis times p close bracket divided by open parenthesis one plus theta close parenthesis times open parenthesis one plus two theta close parenthesis.