\(45\cdot y-30=12\cdot15-40\cdot3\)
\(\Rightarrow45\cdot y-30=180-120\)
\(\Rightarrow45\cdot y-30=60\)
\(\Rightarrow45\cdot y=60+30\)
\(\Rightarrow45\cdot y=90\)
\(\Rightarrow y=90:45\)
\(\Rightarrow y=2\)
\(\Leftrightarrow45y-30=60\Leftrightarrow45y=90\Leftrightarrow y=2\)