Age of Gabriella = x years
Age of her brother = x + 8
Age of her sister = x - 12
If their total age is 50 years
x + x + 8 + x - 12 = 50
3x - 4 = 50
3x = 54
x = 18
Age of Gabriella = 18
Age of her brother is 18 + 8 = 24
Age of her sister is 18 - 12 = 6