Concept:
When a body moves down an inclined plane with constant velocity, the net force acting along the plane is zero. Therefore, the frictional force balances the component of gravitational force along the plane.
If the block is pulled upward through the same path at constant velocity, the external force must overcome both gravity and friction.
Step 1: Analyze the motion while moving downward.
Since the block moves downward with constant velocity,
\[
a=0
\]
Hence, net force along the incline is zero.
Therefore,
\[
f=mg\sin\theta
\]
where \(f\) is the frictional force.
Step 2: Determine the force required to pull the block upward.
While pulling upward with constant velocity,
\[
F=mg\sin\theta+f
\]
Substituting
\[
f=mg\sin\theta
\]
we get
\[
F=2mg\sin\theta
\]
Step 3: Calculate work done.
Vertical height covered
\[
h=50\,cm=0.5\,m
\]
Since
\[
W=F\times s
\]
and
\[
s\sin\theta=h
\]
Therefore,
\[
W=(2mg\sin\theta)\left(\frac{h}{\sin\theta}\right)
\]
\[
W=2mgh
\]
Substituting values,
\[
W=2\times3\times10\times0.5
\]
\[
W=30\,J
\]
However, the work done against gravity alone is
\[
mgh=3\times10\times0.5
\]
\[
W=15\,J
\]
Hence the correct answer is
\[
\boxed{15\,J}
\]