Emily was baking cookies and used 3/4 of a cup of sugar for one batch. For the second batch, she used 1/2 of a cup less sugar than the first batch. How much sugar did Emily use in total for both batches? Let's think step by step and output the final answer within \boxed{}.
user