Brianna gave away twice as many marbles as she had lost, or a total of 2*4=<<2*4=8>>8 marbles.
Her dog ate half as many marbles as Brianna had lost through the hole in the bag, or 4/2=<<4/2=2>>2 marbles.
If she started with 24 marbles, then the number of marbles remaining is 24-4-8-2=<<24-4-8-2=10>>10 marbles.
#### 10