Alex spends 1/4 of his day sleeping, 1/8 of his day eating, and 1/2 of his day studying. If he uses the remaining time of the day for leisure activities, how many hours does Alex spend on leisure activities in a day? Let's think step by step and output the final answer within \boxed{}.
user