Let $v$ be the working speed of $B$. Then, the working speed of $A$ is $3v$. The working speed of $A$ and $B$ together is $4v$.
Now, the time $A$ spends is $t$ (in days), and the time $B$ spends is $t+60$.
Since the speed and the time are inversely proportional, their product is constant, so $3v\cdot t=v(t+60)$.
Can you continue?