1996 Xplorer 300 brake issue. Need some advice

Just got my atv running again but I need brakes now. Front brake lever won’t squeeze and the rear brake pedal will push down but won’t move the brakes. I’m thinkin I need to replace the front master cylinder but what else? I don’t mind buying parts just bot sure where to start.

Thanks for the help in advance.