To solve this, we will need to do some stoichiometry.
We are going to go from grams of K2Pt2Cl4 to grams of Pt(NH3)2Cl2, but to get there we have to convert grams of the reactant to moles of the reactant, then compare the number of moles of the reactant to the number of moles of the product, and then finally convert the number of moles of the product to the number of grams of the product.
Remember that you will need the molar mass of the reactant and the product. Get it from the Periodic Table of the Elements by adding up the atomic masses of each atom in the molecule. Don't forget to count the number of atoms.
We aren't worried about the ammonia or the potassium chloride in this problem, so we can ignore that reactant (ammonia) and that product (potassium chloride).
Like this:
10 g K2Pt2Cl4 x 1 mol K2Pt2Cl4 / 610.156 g x 1 mol Pt(NH3)2Cl2 / 1 mol K2Pt2Cl4 x 300.042 g Pt(NH3)2Cl2 / 1 mol Pt(NH3)2Cl2 = 4.9 g Pt(NH3)2Cl2