Answer:
You can spend 4 days in Los Angeles and 3 days in San Francisco.
Step-by-step explanation:
From the information given, you can write the following equations:
x+y=7 (1)
275x+400y=2,300 (2), where:
x is the number of days to visit Los Angeles
y is the number of days to visit San Francisco
First, you can solve for x in (1):
x=7-y (3)
Now, you can replace (3) in (2):
275(7-y)+400y=2,300
1,925-275y+400y=2,300
125y=2,300-1,925
125y=375
y=375/125
y=3
Finally, you can replace the value of y in (3) to find x:
x=7-3
y=4
According to this, the answer is that you can spend 4 days in Los Angeles and 3 days in San Francisco.
 
        
             
        
        
        
If you know the formular a^3+b^3=(a+b)(a^2-ab+b^2), you can solve this problem.
8 is 2 cubed, so x^3+2^3=(x+2)(x^2-2x+4)
so the other quadratic factor is x^2-2x+4
        
             
        
        
        
Sorry but I don’t understand your language.