You solved the equation correctly, but time cannot be negative.