Current Window Size of Sender $=$ min (Congestion Window, Advertised Window)
$= min(3000, 5000)= 3000$
Effective Window size $=$ Current Window Size - (Last Byte sent - Last Byte Acked)
$=$ Current Window Size - (Unacknowledged bytes)
$= 3000 - 2000 = 1000$