Final answer:
Leila is currently 34 years old.
Step-by-step explanation:
To determine how old Leila is, we need to calculate the age difference between Miguel and Leila when Miguel was six years old. Since Leila was half of Miguel's age at that time, we divide six by two to find that Leila was three years old.
Now, if Miguel is currently 40 years old, we subtract six (Miguel's age when Leila was three) from 40 to find the age difference between them: 40 - 6 = 34 years. Therefore, Leila is currently 34 years old.