The given equation is
We need to solve the equation for q.
Value of q:
Let us determine the value of q from the equation
![a=qb+r](https://img.qammunity.org/2021/formulas/mathematics/high-school/vgdd55f582vs5n1zh8xvlrxihxx5gn2ykm.png)
Subtracting both sides of the equation by r, we get;
![a-r=qb](https://img.qammunity.org/2021/formulas/mathematics/high-school/1d6n19hv42bsuetinnltzi52zl6tghuso0.png)
Now, dividing both sides of the equation by b, we have;
![(a-r)/(b)=(qb)/(b)](https://img.qammunity.org/2021/formulas/mathematics/high-school/pynty01jdapp36h2rqxhhkth0zmw6c356j.png)
Simplifying the terms, we get;
![(a-r)/(b)=q](https://img.qammunity.org/2021/formulas/mathematics/high-school/9x98ee8uyukcpble7b1o194zxnifsgew2w.png)
Therefore, the value of q is
![q=(a-r)/(b)](https://img.qammunity.org/2021/formulas/mathematics/high-school/1ot6cey00xbyi3qd6yf688atabs0rg0h1c.png)
Hence, Option B is the correct answer.