If there is only ostrich X, there is 15-x giraffe.
2x+( 15-x)*4=44
2x+60-4x=44
2x= 16
x=8
15-8=7
So an ostrich has eight giraffes and seven giraffes.