First upload your file to OneDrive. Then locate your file in your drive and click on the "3 dot menu" next to the file:
Then post link in location your teacher specifies (assignment page OR form)