The equation for the equilibrium of the metal piece is
N + F = m g ------------------ (1)
Where F is the buoyant force and N the normal reaction.
F = mg x density of the liquid / density of the solid = mg / 8
Therefore
N = mg - F = mg - mg / 8 = 7 mg / 8.