Answer
For ASCII : 240 bits
For Unicode : 480 bits
Work Step by Step
ASCII requires 8 bits for one character and there are total 30 characters in given string hence it will require$8\times 40 = 240$ bits
Unicode 16 bit requires 16 bits for one character and there are total 30 characters in given string hence it will require$16\times 40 = 480$ bits