I do not know what your book says, but to me the only similarity is that they were both partly concerned with dividing up the world and saying who was going to control what.
At the Treaty of Versailles, one thing that was done was to take various things that had belonged to Germany or Austria-Hungary and divide them up in ways that the Allies thought were good.
At Yalta, one of the main things that was happening was that the Soviet Union and the Western Allies were deciding who would control what. They decided that the Soviets would get to control Eastern Europe, for example.
The Yalta Conference and Treaty of Versailles represents quite different kind of events in history. The Yalta conference (1945) was a meeting of allies in World War II to agree on a common understanding between when the war is won. In contrast Treaty of Versailles (1919) refers to the agreement reached between warring parties after declaration of armistice in the first world war.
Yalta Conference was a meeting between President Franklin D. Roosevelt of the United States, Prime Minister Winston Churchill of Great Britain, and Premier Joseph Stalin of the Soviet Union. The Treaty of Versailles provided an official peace between Germany and nearly all of the 32 victorious Allied and associated nations, including France, the United Kingdom (UK), Italy, and Japan. However, there wee some similarities between Treaty of Versailles and agreement reached in Yalta conference.
The main similarity was the provisions for creating organizations and mechanism for promoting international peace. Treaty of Versailles created several new international organizations, including the League of Nations and the Permanent Court of International Justice. The Yalta conference similarly agreed on a structure of a world peacekeeping organization that was to become the United Nations. The two agreements, like all similar agreement involving settlements after war also provided for reorganization of territories of some countries.