Faulty - I have the impression that the OP already has the abstraction, but does not know whether it is permissible to bring it over.
We come to a new instrument and we don't know what is "allowed", and what might trip us up, so we don't dare try what we feel will work: and it will work!
A drummer knows how to handle these two rhythms. But is it permitted? Yes, it is permitted. Teachers even send their students to drumming lessons.
So now you do, as a drummer, what you already know how to do, and add the pitch = melody. Problem solved.
It would be silly to teach a drummer about rhythms, give him rhymes, show him pictorally how the two fit together - he can already do that. He simply needs to know that it is ok to transfer his knowledge over to the piano. If he KNOWS it's ok, he can do it - problem solved.