At practice, Carlos eats half as many apples as Alex, and also eats 2 tangerines. He eats 4 pieces of fruit in total. The equation 0.5x + 2 = 4 describes this situation. What does the variable represent?