Answer:
Daniel is 21 years old
Explanation:
Let
R ---> Rick's age
M ---> Mike's age
L ---> Larry's age
E ---> Ed's age
D ---> Daniel's age
we know that
The sum of their ages is 271
so
----> equation 1
Rick is 5 times the age of Mike
so
----> equation 2
Mike is half the age of Larry
so

----> equation 3
----> equation 4
----> equation 5
substitute equation 2, equation 3, equation 4 and equation 5 in equation 1

simplify
-----> equation 6
substitute equation 2 and equation 3 in equation 6

solve for M

Find the value of R (equation 2)

Find the value of D (equation 5)

therefore
Daniel is 21 years old