; and (ii) States based on subrecipients made eligible by paragraph (1) in an urbanized area under 200,000; and (B) allocated pursuant to the formula set forth in section 5336 other than subsection (b). (4) Rural allocation The Secretary shall— (A) calculate the percentage of funds under section 5338(a)(2)(L)(ii) to allocate to rural subrecipients by dividing— (i) the asset vehicle miles for buses beyond the useful life benchmark (established by the Federal Transit Administration) of the rural subrecipients described in paragraph (2); by (ii) the total asset vehicle miles for buses beyond such benchmark of all eligible recipients and subrecipients described in paragraph (2); and (B) prior to the allocation described in paragraph (3)(B), apportion to each State the amount of the total rural allocation calculated under subparagraph (A) attributable to such State based the proportion that— (i) the asset vehicle miles for buses beyond the useful life benchmark (established by the Federal Transit Administration) for rural subrecipients described in paragraph (2) in such State; bears to (ii) the total asset vehicle miles described in subparagraph (A)(i). (5) Application of other provisions Paragraphs (3), (7), and (8) of subsection (a) shall apply to eligible recipients and subrecipients described in paragraph (2) of a grant under this subsection. (6) Prohibition No eligible recipient or subrecipient outside the top 5 percent of asset vehicle miles for buses beyond the useful life benchmark established by the Federal Transit Administration may receive a grant in both fiscal year 2022 and fiscal year 2023. (7) Requirement The Secretary shall require— (A) States to expend, to the benefit of the subrecipients eligible under paragraph (2), the apportioned funds attributed to such subrecipients