How to arrange the basketball match for eight teams?

Eight teams draw lots and divide them into two groups?

Get the top two in A and B in three days?

There are two days left. Four teams left?

Look at A 1 and b1; A 2 and B 2, or A 1 and B2; ?

Two successful fights on the last day?

In the final, two losers competed for three or four places.