Outflow rings of gas and dust and mass ejection of matter from the V Hya carbon star