The price-earnings ratio (P/E ratio) is the ratio for valuing a company that measures its current share price relative to its per-share earnings.
The Price/Earnings Ratio (P/E Ratio) can be calculated as Market Value/Earnings per Share.
P/E = MV/EPS
Substituting the values we have:
4.5 = MV/8
MV = $36