Compiling in MinGWI

I have MinGW installed on Windows 10. Can you help me compile something with it?

I get this

$ g++ first.cpp -o first
bash: g++: command not found

And then

$ apt-get install g++
bash: apt-get: command not found