Step-by-step explanation:
The power used by an object is calculated using the work done and the time. The mathematical formula for the power is given by :

Where
W = work done
t = time taken
Work done is the product of force and distance. The equation (1) becomes :

Where
F is the force applied
d is the distance
So, power depends on the force, distance and time taken. Hence, if you are given force and time you can determine power, if you know the distance covered.