The condition says D + 5 = 2*(D-1). (where D is the daughter present age) ================> D + 5 = 2D - 2 ====> 5 + 2 = D ====> D = 7.