I'm quite certain that you could put together an algorithm for this (how you would go about it) and express it in your native language in the time required. That would be called pseudo-code.

If it is truly not your fault then surely that would suffice to gain you some extension of time.

Most people I know will not do you work for you. Why? Because then you will get a job on false credentials, then someone will have to do your actual work for you when you get into the workplace.

I would suggest you get cracking and do the best you can.