Complex sentence: Emirates plans to phase all of these A340-300 aircraft out in 2017, while the sole remaining A340-500 will have its last flight on 3 October 2015, from Kabul to Dubai.
Split into simpler sentences: Emirates plans to phase all of these A340-300 aircraft out by 2017. The sole remaining A340-500 had its last flight on 3 October 2015, from Kabul to Dubai.