The number of pens sold in 240 yuan is 240/4=60.
The purchase quantity is 60/3/4=80.
What the teacher said is wrong.
Suppose what the teacher said is right.
Bought 120.
Sold 3/4, sold 90,
The profit of each branch is 4 yuan, that is, 90*4=360 yuan.