To give something to try and make up for something that was lost. If you lose something value, you may be compensated by something similar or the cash value of what was lost.
Mean can mean you are being rude or in math terms it is adding a set of numbers then dividing by the total amount. ex. If your numbers are 1,2,and 3 add them to get 6 and divide by 3. You get 2.