Let $X$ be the resistors,$Y$ be the transistors and $Z$ be the capacitors produced by the electronic circuits of two types $A$ and $B$
The data in the given problem can be written as follows :
For Type A: $x=20,y=10,z=10$.The profit on type $A$ circuit is Rs.50
For Type B: $x=10,y=20,z=30$.The profit on type $B$ circuit is Rs.60
The maximum requirement is $x=200,y=120,z=150$
These units are bought to fulfill the maximum requirement of $x,y,z$ and to maximize the profit.
The mathematic formulation of the above problem is as follows :
Maximize $Z=50x+60y$ subject to $2x+y\leq 20,x+2y\leq 12,x+3y\leq 15,x\geq 0,y\geq 0$