(10 M/S) $m(A) = m(B) = 1000 \,kg$. Initial velocity of car $(A)$,$v = 36 \,km/h = 36 \times (5/18) \,m/s = 10 \,m/s$.
Frictional force $F = 100 \,N$.
Since the car $(A)$ moves with a uniform speed,the engine must apply a force equal to the opposing frictional force.
Power $P = F \times v = 100 \,N \times 10 \,m/s = 1000 \,W$.
For the collision,we use the law of conservation of linear momentum:
$m_A u_A + m_B u_B = m_A v_A + m_B v_B$
Here,$m_A = 1000 \,kg$,$u_A = 10 \,m/s$,$m_B = 1000 \,kg$,$u_B = 0 \,m/s$,and $v_A = 0 \,m/s$ (as car $(A)$ comes to rest).
$1000 \times 10 + 1000 \times 0 = 1000 \times 0 + 1000 \times v_B$
$10000 = 1000 \times v_B$
$v_B = 10 \,m/s$.