Inclined pully system

Two blocks are connected by a pulley system. One block (10 kg) rests on a plane inclined at 35º to the horizontal, while the other block (9.0 kg) hangs off the edge of the incline. The coefficient of friction between the block and the table is 0.30. The blocks are released from rest, what are their accelerations and what is the tension?
More Inclined Surfaces Questions: