Let
x -----> number of cowns
y ----> number of goats
we have that
x=2y ------> equation A
4x+4y=1,116 ----> equation B
substitute equation A in equation B
4(2y)+4y=1,116
12y=1,116
y=93
Find the value of x
x=2*93
x=186
number of cowns is 186
number of goats is 93