So the nice thing about math, if we're doing things that make logical sense, we should get to the same end point. But the point here is that there's multiple strategies. You could use the chain rule first and then the product rule or you could use the product rule first and then the chain rule. In this case, you could debate which one is faster. It looks like the one on the right might be a little bit faster. But sometimes, but these two are pretty close, but sometimes it'll be more clear than not which one is preferable. You really wanna minimize the amount of hairiness, the number of steps, the chances for careless mistakes you might have.