Xiaohua bought 4 exercise books and x pencils with 22 yuan. It is known that one exercise book is 4 yuan and one pencil is 2 yuan. Find the value of x.
小华用22元钱买了4个练习册，x支铅笔，已知一本练习册4元，一支铅笔2元，求x的值．
<gadget id="calculator">4 * 4</gadget>
<output>16</output>

<gadget id="calculator">22 - 16</gadget>
<output>6</output>

<gadget id="calculator">6 / 2</gadget>
<output>3</output>

<result>3</result>