2nd one is the correct way but most from west do it in first way.
Nb: if you are confused, don't worry it was one of the most complicated equation of old time.
The left to right invented to fix it but most school is not up-to-date and didn't thought to include it since. Chance of * & ÷ coming close to each other like this is very rare.
This isn't complicated, it's just intentionally formulated in a way to cause ambiguity.
Some publications choose to give implied multiplication, i.e. putting two multipliers together without an x or * inbetween, a higher priority.
If you asked this question outside this context, I would argue that you have made a mistake.
Math doesn't exist in a vacuum. Let's say you wanted to calculate how to share 60 apples between people in 5 groups of 7, but four people of every group don't like apples.
You'd look pretty stupid if you wrote that equation and then went: (60/5)*(7-4)=36. You'd notice something is wrong after you gave the first dude 36 apples and now only have 24 apples left for the other 14 people.
Or you want to find out how many apples you need to buy for an apple pie baking contest, 60 people in groups of 5, each group needing 7 apples for their pie, but you already have 4 apples for each group at home.
You write out that equation again, have someone else calculate it for you because last time you made that embarrassing mistake.
They don't know the context, so they go: 60/(5(7-4))=4. You're glad you don't need to buy that many apples, but oh no, the apple pie festival turned out to be a disaster.
All this could have been avoided by writing it with an extra set of parentheses,
(60/5)(7-4)=36
or like this:
. . . 60= 4
5(7-4)
This is a fault in the question, because the solution is ambiguous.
In conclusion, whoever wrote that doesn't deserve to ever eat the correct amount of apples again.