; (2) location, entry, and patent under the mining laws; and (3) operation of the mineral leasing, mineral materials, and geothermal leasing laws. (b) Surveys The exact acreage and legal description of the Thompson Divide Withdrawal and Protection Area shall be determined by surveys approved by the Secretary, in consultation with the Secretary of Agriculture. (c) Grazing Nothing in this title affects the administration of grazing in the Thompson Divide Withdrawal and Protection Area. 304. Thompson Divide lease credits (a) In general In exchange for the relinquishment by a leaseholder of all Thompson Divide leases of the leaseholder, the Secretary may issue to the leaseholder credits for any bid, royalty, or rental payment due under any Federal oil or gas lease on Federal land in the State, in accordance with subsection (b). (b) Amount of credits (1) In general Subject to paragraph (2), the amount of the credits issued to a leaseholder of a Thompson Divide lease relinquished under subsection (a) shall— (A) be equal to the sum of— (i) the amount of the bonus bids paid for the applicable Thompson Divide leases; (ii) the amount of any rental paid for the applicable Thompson Divide leases as of the date on which the leaseholder submits to the Secretary a notice of the decision to relinquish the applicable Thompson Divide leases; and (iii) the amount of any reasonable expenses incurred by the leaseholder of the applicable Thompson Divide leases in the preparation of any drilling permit, sundry notice, or other related submission in support of the development of the applicable Thompson Divide leases as of January 28, 2019, including any expenses relating to the preparation of any analysis under the National Environmental Policy Act of 1969 ( 42 U.S.C. 4321 et seq. )