misty ran 10 miles on monday and tuesday 8 miles on wednesday and thursday. if she ran a total of 40 miles in all, how many miles did she run on friday?