A furniture workshop produces three types of furniture: chairs, tables, and beds each day. On a particular day, the total number of furniture pieces produced is 45. It was also found that the production of beds exceeds that of chairs by 8, while the total production of beds and chairs together is twice the production of tables. Determine the units produced of each type of furniture, using the matrix method.