The aspiring writer's first book inspired by a hot encounter