Maria wants to give away 5 cookies, so she will be left with 19 - 5 = <<19-5=14>>14 cookies.
Half of these will go to her family, which means 14 / 2 = <<14/2=7>>7 cookies.
Maria decided to eat 2/7 * 7 = <<2/7*7=2>>2 cookies.
So she will be left with 7 - 2 = <<7-2=5>>5 cookies.
#### 5