you would do 5 divided by 4
the question is tells us that the sandwiches are being shared equally so it is the total amount. it is being distributed to 4 friends meaning it is being divided by 4.
5 divided by 4 = 1.25
they all got 1.25 of the sandwiches