f={(2,1),(4,-2),(5,5),(-2,6)}

g={(1,2),(-2,4),(5,5),(6,-2)}

The functions f and g are defined by the set of inputt and output values above;

Using Wolfram Alpha How would i to answer the following?

1. find f(g(6)) =

2. find g(f(2)) =

Also how would i find what the equation for the f and g lines using Wolfram Alpha

Any help here is appreciated;