Incorrect distance

But say I have to find out how fast I can do 40km to prep for an Olympic distance tri??