You don't need F. Look at your graph. You did it correctly when you thought you started with 0J energy - do the same thing only starting with 1J
So - you start with 1J
In the first meter moved, you gain 1J (area under F-x graph) for a total of 2J
What happens in the next meter moved?
How far before you've lost all the KE?