Pistachios make up

almonds make up

cashews make up

Batch 1:
1 cup in pistachios( (which is 1/6) which means there are 5 other cups )and 2 cups in almonds so that leaves

left so the answer is 3 cashews
Answer=3 cups of cashews
-----------------------------------------------------
Batch 2:
1 cup of cashews which makes up

or

of the batch and there are

of a cup of almonds so that leaves only

as the only option left
Answer=

of pistachios
----------------------------------------------------
Batch 3:

is the amount of pistachios and it makes up

of the batch which means that there are six

but cashews always make up

so you get

which is equivalent to two so that leaves two

which you add and that makes

which is equivalent to

or

Your answer:
There is

pistachios
There is

of almonds
There is 2 cups of cashews
--------------------------
Second problem for pencils
There is a total of 36 pencils
20 are sharpened
So that leaves 20:16
divide each side by 4
That leaves 5:4