So, this is an attempt to give you a consolidated answer,
In classical mechanics problem like this it is conventional to use either of the two conservation laws viz z viz Energy and Momentum. Conservation of energy principle is applicable only in a closed system, where there is no escape of matter nor energy. You can consider a thermos flask( ignoring the minute heat escape through radiation) as a closed system. Whereas momentum conservation necessitates only matter shouldn't escape the confinement of the system. I'm talking in a purely classical terms. No quantum theory here.
Now, coming back to your question. In your question, you want to apply conservation of energy. For that you should first define your system, which is closed for energy as well as matter. So, I would take the slope-box as my system.
From here I can enumerate the energy gains and losses at different stages of the trajectory of box...
Initial : Full potential Energy...
Magnitude: $mgh$
Final before Collision: Full kinetic Energy - some loss due to friction
magnitude: $\frac{1}{2}mv^2$
Final after collision: Zero Energy.
magnitude: $0$, but energy has been transferred to earth, dissipated as sound, light(probably) and heat.
Since after collision, there is many unaccountable energy, we take the initial energy and final energy before collision. (PS. there's no harm in taking energy after collision, but then how to measure the various energies?? Anyway, we are interested in the final velocity).
$$Initial = Final$$
$$mgh - \mu mg (1.3)= \frac{1}{2}mv^2$$
This equation requires two independent variables. So, this approach won't work. You have to find out the time of flight of the box and then from that get the velocity from the standard kinematic equations..