Crossword Genius

Greenfly, for instance, could be a danger to pets (6,4)

Ross

I believe the answer is:

garden pest

I'm a little stuck... Click here to teach me more about this clue!

'greenfly for instance' is the definition.
I can't tell whether this definition defines the answer.

'could be a danger to pets' is the wordplay.
'could be' indicates anagramming the letters.
'danger'+'pets'='dangerpets'
'dangerpets' anagrammed gives 'GARDEN PEST'.

Can you help me to learn more?

I've seen this clue in The Irish News.
Want a hint initially instead of a full solution? Install my app