וַיֹּ֤אמֶר פַּרְעֹה֙ אֶל־יוֹסֵ֔ף חֲל֣וֹם חָלַ֔מְתִּי וּפֹתֵ֖ר אֵ֣ין אֹת֑וֹ וַאֲנִ֗י שָׁמַ֤עְתִּי עָלֶ֙יךָ֙ לֵאמֹ֔ר תִּשְׁמַ֥ע חֲל֖וֹם לִפְתֹּ֥ר אֹתֽוֹ׃
Faraone disse a Giuseppe: Ho fatto un sogno, e non havvi chi l’interpreti; ed io intesi dire di te, che udito un sogno, sai interpretarlo.
Rashi on Genesis
תשמע חלום לפתר אותו — means thou payest heed to and UNDERSTANDEST A DREAM TO INTERPRET IT.
Rashbam on Genesis
תשמע חלום, you understand a dream and are able to explain its meaning.
Sforno on Genesis
תשמע חלום לפתור אותו, that you understand the principles involved in dreams so that you can use your knowledge to interpret them, not just by a haphazard guess.