First I'd take care of any personal outstanding debt. Next I'd buy a dependable energy efficient car and a vehicle large enough to transport multiple people. I'd purchase about 50 acres of land at high altitude in a rural are but close to a city and hospitals. I'd help persons in my immediate family to become financially stable.
Then I'd construct about 20 straw brick homes and create a community of families that otherwise could not afford a home or who had their homes foreclosed on. This would be a self sustaining community with vegetable gardens, livestock and would have wind and also solar power. It would also be an education center for those wanting to learn how to be self sustaining and how to build straw brick or other energy efficient homes and how to live off the grid.
Next I would invest in solar energy and alternate energy research and development, give grants to individuals who have ideas for creating solutions to our environmental issues.
I would give grants for college educations to any families in the community.
Within the community there would be facilities to develop individual pursuits such as arts & crafts, wood working, candle and soap making.
The community would establish a cottage industry/s to create jobs and to make an income to support their needs.
The remainder of the money would be used to set up a private bank for the community from which they could receive loans and have personal bank accounts.
I've probably overspent the 10 million but these are the things I would like to do.