I think your Prof. want to check your concept.Why did you write W=...,according to your test book you can get answer.