; and (ii) the product of the number of displaced students who are children with disabilities, as determined by the eligible local educational agencies and eligible BIA-funded schools in the State under subsection (c)(2), times $7,500. (B) Insufficient funds If the amount available under this section to provide emergency impact aid under this subsection is insufficient to pay the full amount that a State educational agency is eligible to receive under this section, the Secretary shall ratably reduce the amount of such emergency impact aid. (C) Retention of state share In the case of a State educational agency that has made a payment prior to the date of enactment of this Act to a local educational agency for the purpose of covering additional costs incurred as a result of enrolling a displaced student in a school served by the local educational agency, the State educational agency may retain a portion of the payment described in paragraph (2)(B) that bears the same relation to the total amount of the payment under such paragraph as the sum of such prior payments bears to the total cost of attendance for all students in that local educational agency for whom the State educational agency made such prior payments. (2) Aid to eligible local educational agencies and eligible bia-funded schools (A) Quarterly installments A State educational agency shall provide emergency impact aid payments under this section on a quarterly basis for the 2017–2018 school year by such dates as determined by the Secretary. Such quarterly installment payments shall be based on the number of displaced students reported under subsection (c)(2) and in the amount determined under subparagraph (B). (B) Payment amount Each quarterly installment payment under subparagraph (A) shall equal 25 percent of the sum of— (i) the number of displaced students (who are not children with disabilities) reported by the eligible local educational agency or eligible BIA-funded school for such quarter (as determined under subsection (c)(2)) times $6,000