Algebra verbal find the amount of sold items Hey I am having an exam tomorrow, so I looked up at some verbal algebra questions, and found one that I could not solve, because I don't really understand how would I do this.
The question is like this:
An IKEA agent bought beds for 60,000 dollars. 1/4 of the beds that he bought, he sold them with a 80% profit. 4 beds were sold without any profit and rest of the beds were sold with a lose of 10% per bed. Overall he made a profit of 9500 dollars.
How many beds did the agent buy?
How much did the agent pay per bed?
I totally don't understand how would I solve this question, could someone give me a tip? the 1/4 part confuses me

Let $B$ be the number of beds. Let $P$ be the price he paid per bed.
$$60000=BP$$
$$\begin{align}9500&=\frac{B}4\cdot0.8\cdot P + \left(\frac{3B}{4}-4\right)\cdot(-0.1)\cdot P\\
&=\frac{BP}{4}\left(0.8+3\cdot(-0.1)\right)-4\cdot(-0.1)\cdot P\end{align}$$
