Mathematician, Pierre de Fermat History (specifially his work in number theory, ex, Two Squares Theorem and the like)

This is a type of Historical research paper on the Mathematician, Fierre de Fermat focusing on his work in Number Theory i.e. Two Squares Theorem and the like. This paper should be between 15-20 pages in standard MLA format. Can be in LaTex in pdf form or simply in MS Word. This paper should include a Title Page, List of References, and the following:

Introduction; Biographical Sketch of Fermat; Mathematical Contributions and their historical context (mostly on number theory but other contributions can also be written about); relationship of the relevant mathematics to the past, present, and future; and conclusion.