顺藤摸瓜

shùn téng mō guā

lit. to follow the vine to get to the melon

to track sth following clues

顺

shùn

to obey

藤

téng

rattan

摸

mō

to feel with the hand

瓜

guā

melon; gourd; squash