let he has p pens and r rulers
the total is 760
p+r=760 ----eq1
70% pens sold means 0.7p sold therefore 0.3p will be left with him
60% of rulers sold means 0.6r sold therefore 0.4r will be left with him
now he bought 41 rulers therefore the total rulers he has is 41+0.4r
the number of pens is three times the number of rulers left
3(41+0.4r)=0.3p ---eq2
by eq1
3\left(41+0.4r\right)=0.3\left(760-r\right)
1.2r+123=228-0.3r
r=\frac{105}{1.5}=70
p=760-r
p=760-70
p=690