The given equation is [tex]a=qb+r[/tex]
We need to solve the equation for q.
Value of q:
Let us determine the value of q from the equation [tex]a=qb+r[/tex]
Subtracting both sides of the equation by r, we get;
[tex]a-r=qb[/tex]
Now, dividing both sides of the equation by b, we have;
[tex]\frac{a-r}{b}=\frac{qb}{b}[/tex]
Simplifying the terms, we get;
[tex]\frac{a-r}{b}=q[/tex]
Therefore, the value of q is [tex]q=\frac{a-r}{b}[/tex]
Hence, Option B is the correct answer.