Create a constituent query with two Summary for Gift Fields of total number of gifts.

Create the following filters;
Total Number of Gifts _1 = greater than or equal to 1
and Gift Date = This Year
and Total Number of Gifts_2 = 0
and Gift Date = Last Year