You can either submit the received solution as it is to your institution or use it as a reference for the assignments allotted. You’re the sole owner of the content thus you have the right to do whatever you feel like with the received assignment document.