(I) is located in a city which has a population of not less than 50,000 and such city has a poverty rate that is not less than 150 percent of the poverty rate of the applicable area, (II) has a median family income which does not exceed the median family income for the applicable area, and (III) has a median value for owner-occupied homes that does not exceed 80 percent of the median value for owner-occupied homes in the applicable area, (iii) which— (I) is located in a nonmetropolitan county, (II) has a median family income which does not exceed the median family income for the applicable area, and (III) has been designated by a neighborhood homes credit agency under this clause, or (iv) which is not otherwise a qualified census tract and is located in a disaster area (as defined in section 7508A(d)(3)), but only with respect to credits allocated in any period during which the President of the United States has determined that such area warrants individual or individual and public assistance by the Federal Government under the Robert T. Stafford Disaster Relief and Emergency Assistance Act. (B) Applicable area The term applicable area means— (i) in the case of a metropolitan census tract, the metropolitan area in which such census tract is located, and (ii) in the case of a census tract other than a census tract described in clause (i), the State. (d) Affordable sale For purposes of this section— (1) In general The term affordable sale means a sale to a qualified homeowner of a qualified residence that the neighborhood homes credit agency certifies as meeting the standards promulgated under subsection (f)(1)(D) for a price that does not exceed— (A) in the case of any qualified residence not described in subparagraph (B), (C), or (D), the amount equal to the product of 4 multiplied by the median family income for the applicable area (as determined pursuant to the most recent census data available as of the date of the contract for such sale), (B) in the case of a house comprised of 2 residential units, 125