Given that a cell is undergoing meiosis, at the end of meiosis I, its number of chromosomes would be in half. Provided in the question that the cell in G1 has 40 chromosomes, at the end of meiosis I, there will be 20 chromosomes in each daughter cell. And each chromosome has two sister chromatids, then there will be 40 sister chromatids in each daughter cell.