Two small math puzzles

 These are two math puzzles I designed, figure out the digits to crack the code!