A company has a budget of $800,000 allocated for two projects, A and B. The management decides that project A should receive 75% of the total budget, while project B will receive the remainder. However, due to unforeseen circumstances, project A ends up using only 60% of its allocated budget by the end of the project, while project B needs an additional 50% of its originally allocated budget to complete the project successfully. How much of the *total* budget was actually spent on projects A and B combined?