Verified Answer :

12/40 = X/100
(12100)/40

12
100 = 1200

1200/40=30

x=30