Rosa, Margarida, and Dália are three constellations in the shape of bouquets of flowers. We know that:

(a) the number of stars in Dália, which is the smallest of the three constellations, is the product of two squares;

(b) the number of stars in Rosa is also the product of two squares;

(c) Dália and Rosa together have the same number of stars as Margarida;

(d) Margarida has 28561 stars.

How many stars do Dália and Rosa each have?
At least two solutions:

$$
D=25 \times 169=4225 ; \quad R=144 \times 169=24336
$$

and

$$
D=49 \times 289=14161 ; \quad R=100 \times 144=14400
$$