Respuesta :

1 is right

2, the logic is part 2 of problem

3, is 1