In pea plants, yellow seeds (Y) are dominant and green seeds (y) are recessive. In another cross, a yellow seeded plant was crossed with another yellow seeded plant and it produced offspring of which about 25% were green seeded plants. What are the genotypes of both parents?