; and (B) with respect to any borrower who is repaying a loan made, insured, or guaranteed under part B or D, if such borrower elects to repay the loan under the income-based repayment plan on or after July 1, 2018. (2) Special terms Notwithstanding any other provision of this section, with respect to a loan described under paragraph (1), the following terms shall apply to the income-based repayment plan: (A) (i) Notwithstanding subsection (a)(3)(B), the repayment amount under this subsection shall be an amount equal to 10 percent of the result obtained by calculating, on at least an annual basis, the amount by which— (I) the borrower's, and the borrower's spouse's (if applicable), adjusted gross income; exceeds (II) the applicable percentage of the poverty line in accordance with clause (ii) that is applicable to the borrower's family size as determined under section 673(2) of the Community Services Block Grant Act ( 42 U.S.C. 9902(2) ). (ii) For purposes of clause (i), the term applicable percentage means 150 percent reduced by 1 percentage point for each $1,000 by which the borrower’s adjusted gross income exceeds $100,000. (B) A borrower may elect— (i) during any period during which the borrower’s (and the borrower’s spouse, if applicable) adjusted gross income is equal to or less than 225 percent of the poverty line applicable to the borrower's family size as determined under section 673(2) of the Community Services Block Grant Act ( 42 U.S.C. 9902(2) ), to have the borrower’s aggregate monthly payment for all such loans equal to $0; and (ii) during any period during which the borrower’s (and the borrower’s spouse, applicable) adjusted gross income exceeds 225 percent of such poverty line, to have the borrower’s aggregate monthly payment for all such loans not exceed, the lesser of— (I) the result described in subparagraph (A) divided by 12