Q6-12 points Define functions  ​f​ , ​g​ , ​h​  from {1, 2,…

Q6-12 points Define functions  ​f​ , ​g​ , ​h​  from {1, 2, 3, 4} to {​a​, ​b​, ​c​, ​d​} as follows: f (1) = a,  f (2) = d, f (3) = c g(1) = a,  g(2) = a, g(3) = b,  g(4) = b h(1) = d,  h(2) = a, h(3) = c, h(4) = b                                                                                             Which of these functions are well-defined? ​                                                                                                                                              Which of these functions are onto?                      Which of these functions are one-to-one?