I hope the method to solve is clear for you. Regarding the value of 'g', yes you can take its value as 10 for ease of calculation. It is your choice as to choose which value. In some qestions, it'll be seperately given as (take g=9.8). In such questions, you must use g = 9.8