Is there a way to do these problems without resorting to plugging in?

<p>I’m glad the old New York math curriculum is being abolished. This is the type of stuff Math A/B doesn’t teach.</p>