Respuesta :

rgwoot
Attached solution to both problems.
Ver imagen rgwoot