Substitute and check. First option, assume that the cost prices are 400, 100, 400, 300. So, profits will be 40, 20, 120, 120 and total profit will be 300 on total cost price of 1200. So, it is 25%. Similarly for option 2 and 3. The final option will give you profit of 420 on 1700 which is not 25%.

Shortcut: when perimeter is even then go for n^2/48, when odd (n+3)^2/48
Original approach: Largest side is always less than the semi perimeter and greater than or equal to one third of the perimeter. Then take variables, and solve for positive solutions, remove duplicates n you are done.

Let abba and pqqp be the two numbers.
The resultant five digit number has to start with 1 and so, will be of the form 1xyx1.
1001a+110b+1001p+110q=10001+1010x+100y
1001(a+p)+110(b+q)
But as the last digit is 1, a+p has to be 11
11011+110(b+q) will be a palindrome. So, b+q should not change the central values disproportionately. This is possible when b+q=0 or b+q=11. So, 11011 or 12221.

Q5) 9 contestants for miss India are seated around a round circular table. Aditya wants to date 3 of them such that he does not select any 2 neighbouring contestants. No. Of ways in which Aditya can do this is?

Any three in 9c3 ways.
All three together in 9 ways.
Two together in 5 ways per couple (From abcdefghi if he chooses ab, he can choose one among only defgh, similarly for the 8 other pairs).
So, two together in 9 * 5 = 45 ways.
So, no two together in 9c3 - 9 - 45 = 30 ways.

Q6) There are one thousand students at the George Washington High School. Each student is assigned a locker, numbered 1 through 1000. On the first day of school each year, the students participate in an unusual ritual: All the lockers are closed in the beginning. The students then enter the school through one door, parade past the all the lockers, and then exit through another door. While in the school, the first student reverses the door position of each locker - if the door is open, he closes it, and if it is closed, he opens it. The second student reverses the door position of every other locker, starting with locker number 2. The third student reverses every third locker, starting with locker number 3, etc. After all 1000 students have completed this ritual, how many lockers will be left open?

All the lockers are opened and closed the same number of times as they have factors. As they are all closed at the start, an odd number of operations have to be performed on the ones that are open at the end. So, if N = a^x * b^y * c^z... the number of factors will be (x+1)(y+1)(z+1)... now if this has to be odd, all of x+1, y+1, z+1 will be odd. So, x, y, z will be even. So, N has to be a perfect square. As there are 31 perfect squares less than 1000 (1-961), we understand that 31 lockers will be open after this exercise.

1 letters with two letters repeating twice in 11!/2!2! ways
2 As and 2 Ts can be arranged in 4!/2!2!=6 ways. Only one among them AATT satisfies the condition. So, (1/6)*(11!/2!2!)=11!/4!
PS: When I say AATT... i mean all cases where 2 As will come before 2 Ts. So, the arrangement could be something like CSARAOHTPET as well. I am just talking about how As and Ts appear among themselves. As there is no binding condition, the distribution would be even.

Q8) A, B, C, D, E are five students who took CAT 2015. Following are the sums of their overall scores, taken three at a time: 119, 121, 124, 125, 123, 126, 127, 128, 129 and 132. What is the highest and lowest score among the scores of A, B, C, D, E?