From the amounts appropriated under
section 300w of this title for any fiscal year and available for allotment under this subsection, the Secretary shall allot to each State an amount which bears the same ratio to the available amounts for that fiscal year as the amounts provided by the Secretary under the provisions of law listed in paragraph (2) to the State and entities in the State for fiscal year 1981 bore to the total amount appropriated for such provisions of law for fiscal year 1981.