The nine isomers of C4H6 shown below all have different connectivities, and hence are constitutional isomers of one another.
There are six isomers of C4H6. Of these, the
two structures shown in red below have the same connectivity and so are
stereoisomers (diastereomers) of one another. All of the other structures
have different connectivity to one another and to the two isomers shown
in red. Hence, any two black structures, or any combination of one red
and one black structure represents a pair of consitutional isomers.