Below is an instruction that describes a task. Write a response that appropriately completes the request in Thai. Please answer in Thai.

### Instruction:
A farmer has twice as many pigs as cows, and 4 more cows than goats.  If the farmer has 56 animals total, how many goats does he have?

### Response:
 กำหนดให้ x เป็นจำนวนแพะ
วัว: 4+x
สุกร: 2(4+x)=8+2x
รวม: x+4+x+8+2x=56
4x+12=56
4x=44
x=<<11=11>>11 ตัวแพะ