A waitress sold 16 ribeye steak dinners and 18 grilled salmon dinners, totaling $597.14 on a particular day. Another day she sold 22 ribeye steak dinners and 6 grilled salmon dinners, totaling $584.54. How much did each type of dinner cost?