A 60-g bullet fired at two blocks resting on a surface with coefficient of kinetic friction =0.5.

The bullet pass through a 8-kg block and make this block slides 0.8 m.
And then the bullet lodges in another block which is 6 kg. The bullet make it slides 1.2 m.

Here is where i got lost, i list two equation:
m-mass of bullet
M-mass of 8-kg block
Vi-initial velocity of bullet
Vf-final velocity of the bullet & 8-kg-block
fk-frictional force acting on the bullet & 8-kg-block

m*Vi=(m+M)Vf
1/2(m+M)(Vf)^2=fk*d

I think all the work of the frictional force equals to the energy provided to the block by the collision
Where did i go wrong?

Collision is inelastic

Energy cannot be conserved!!!

Based on the information provided, it seems like you are trying to understand the physics concept of conservation of energy. Let's go through the steps to solve the problem correctly.

First, let's clarify the variables:
- m represents the mass of the bullet (60 g)
- M represents the mass of the 8-kg block
- Vi is the initial velocity of the bullet
- Vf is the final velocity of both the bullet and the 8-kg block after the collision
- fk is the frictional force acting on the bullet and the 8-kg block
- d represents the distance the 8-kg block slides after the bullet passes through it (0.8 m)

To begin, we can apply the principle of conservation of momentum. The total momentum before the collision is equal to the total momentum after the collision:

m * Vi = (m + M) * Vf

Next, let's consider the work done by the frictional force. The frictional force acts in the opposite direction of motion and thus does negative work. The work done by friction can be calculated as the product of the frictional force and the distance the 8-kg block slides (fk * d):

1/2 * (m + M) * (Vf)^2 = fk * d

So far, your equations seem accurate. The work done against friction indeed represents the energy provided to the 8-kg block by the collision. However, to solve for the final velocity (Vf), you will need to consider additional information or make assumptions.

If you have any additional information or assumptions about the system, please provide them so we can proceed with solving the problem.