can anyone help on these two PRE-ALGEBRA questions see attachments below

Answer:
The first one is a function. The second one is not.
Step-by-step explanation:
1. All of the inputs have the same output. In a function, multiple inputs can have one output.
2. The 1 in the input section has two outputs. This indicates that this is not a function.
An input can only have one output, but an output can have more than one input.
Answer:
1. function
2. not a function
Step-by-step explanation:
1.
Each input value is used only once. It is true that all inputs are mapped to the same output value since every number in the input, 1, 2, 3, 4, 5 is mapped to the same number in the output 3, but that is fine with a function. In a function, each input value can be used only once.
You can list all ordered pairs of this relation:
(1, 3), (2, 3), (3, 3), (3, 4), (3, 5)
Each ordered pair uses a different first element. Since all first elements are different, this relation is a function.
Answer: function
2.
Input value 1 is mapped to output value 1.
input value 1 is also mapped to output value 2.
Since one input value is mapped to more than one output value, this relation is not a function.
You can list all ordered pairs of this relation:
(2, 5), (1, 1), (1, 2), (3, 1)
Notice that two ordered pairs have the same first element, 1. This relation s not a function.
Answer: not a function