There will be universal high income (not merely basic income).
Everyone will have the best medical care, food, home, transport and everything else.
Sustainable abundance.
I think by 2040 probably there are more humanoid robots that are people.
In respond to the question: "Your prediction on the number of robots by 2040. Humanoid robots to be specific. What order of magnitude?"
These will be uncrewed to test the reliability of landing intact on Mars. If those landings go well, then the first crewed flights to Mars will be in 4 years.