The sum of 24 and Vanessa's age is 40

24 + x = 40