Answer:
According to the information in the text, the US GDP would be $500, because GDP only accounts for all the goods and services produced within the country, or under the income approach, for all the forms of income (rent, dividends, wages) earned by nationals or foreigners in domestic soil.
In this case, the Mexican citizen working in the US and earning $500 adds the same amount to US GDP of that year regardless of his nationality.