A bob is hanging over a pulley inside a car through a string. The second end of the string is in the hands of a person standing in the car. The car is moving with constant acceleration a directed horizontally as shown in figure. The other end of the string is pulled with constant acceleration a vertically. The tension in the string is equal is