the sale of the former main residence occurs within the filing period for the acquisition of the new main residence, and
bod y cyn brif breswylfa'n cael ei gwerthu o fewn y cyfnod ffeilio ar gyfer caffael y brif breswylfa newydd, ac