The equation $5-\dfrac{y}{7}=19$ is solved by cancelling out 5 on both sides and then $-\dfrac{1}{7}$. However, why can the $-\dfrac{1}7$ not be cancelled out first. If this is done, the answer is -138. The actual answer is -98 which makes sense with the first method. Why is the second method wrong?
First method:
$5-\dfrac{y}{7}=19$
$-\dfrac{y}{7}=19-5$
$y=14\times -7$
$y=-98$
Second method:
$5-\dfrac{y}{7}=19$
$5+y=19\times -7$
$y=19\times -7-5$
$y=-138$
Remember to multiply the $5$ with $-7$ as well, making it $$ 5-\frac y7=19\\ -35+y=-133\\ y=-98 $$ As mentioned above, "cancel" is a bad word to use about an action, because there are many different things which may need to be cancelled differently. Using the same word to refer to all of these different active may make it difficult to keep track of what you're actually doing.
In other words, I think "cancel" is a goal, not an action. For instance, you want to cancel the $5$, and in order to do that, you need to subtract $5$ from both sides. You want to cancel the $-\frac{}{7}$, and in order to do that, you multiply both sides by $-7$.