设兔为x.鸡为x+28.
4x+2x+28*2=296
4x+2x+56 =296
6x+56 =296
6x =296-56
6x =240
x =240/6
x =40
x+28=40+28=68
答:鸡有68只,兔有40只.