The perimeter of the triangle △ABC is 10. Let D,E,F be the midpoints of the segments AB,BC,AC respectively. What is the perimeter of △DEF?