Madison spent 3 times as long on her social project as she did on her other project. If she spent a total of 8 hours on he projects how long did she spend on her social project