If you're going to ask your teacher, then do so
You can't reach your home computer if you don't have the right configuration.
Now, if you want to connect to your home computer to work as if you were in front of you, you need to set up a VPN. You can do so manually by configuring the computer to accept external connections and you would need to change your firewall/router configuration as well. Of course, that's a security ricks.
It is much easier and secure if you use a software like logmein or similar as they use encryption among other things.
If your assigment is that you use your own computer as a web server to access your home website... that's a different story and we'll be talking about public IP addresses and DNS servers.