Let's use the variable R to represent the number of rulers, the variable P for the number of protractors and the variable C for the number of calculators.
If the teacher will buy twice as many rulers as protractors, we have the equation:
![R=2P](https://img.qammunity.org/2023/formulas/mathematics/college/k2gg8w13mp1yrhhs9gwugifexx9tpbt2vj.png)
Then, if the number of calculators is one quarter of the number of protractors, we have:
![C=(P)/(4)](https://img.qammunity.org/2023/formulas/mathematics/college/tr0og5zhxsoudv142vbhsmfx03jq8d48ta.png)
The total number of itens is 65, so:
![R+P+C=65](https://img.qammunity.org/2023/formulas/mathematics/college/g0w0o5tjjdn0yalz3dsqx757eoqcqsra2a.png)
Using the values of R and C, we have:
![\begin{gathered} 2P+P+(P)/(4)=65 \\ (8P+4P+P)/(4)=(260)/(4) \\ 13P=260 \\ P=(260)/(13) \\ P=20 \\ \\ R=2P=2\cdot20=40 \\ C=(P)/(4)=(20)/(4)=5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/jld9gii42z0d6a4d5limhz9fdg7qw8xy38.png)
So the teacher bought 20 protractors, 40 rulers and 5 calculators.