Solution:(a) The author wrote the book over a period of two years. (Correct)(b) The book was written over a period of two years. (Incorrect Sentence Structure)
(c) The book was being written by the author over a period of two years. (Incorrect Sentence Structure)
(d) The period of two years was taken by the author to write the book. (Incorrect Sentence Structure)