This is a decomposition reaction. Silver has a charge of plus one, and oxygen has a charge of minus two. So this equation is not balanced. The first part is right. The two should be a subscript. The second part is not right and you should add the 2 to the Silver instead of the oxygen.