If i invested 10,000 on 50 stocks that were 210.93 each, then the price of each went up to 217.00 each. How much did I earn?

Your question is confusing. If you invested $10,000 in 50 stocks, the average price would be $200, not $210.93.