Your tax return and your W-2 show only totals for the year. To find your income for part of the year you would have look at other records such as pay stubs or bank deposits. (Bank deposits would be net "take home" pay, so you would have to do some calculating to figure out the gross.)
If your income was steady throughout the year you could just calculate a proportional amount of your gross income for the year. For example, your income for a 3-month period would be 3/12 of the total for the year.